package com.horizon.im.imServer.serverProcessor;

import com.horizon.im.common.bean.msg.ProtoMsg;
import com.horizon.im.imServer.server.session.LocalSession;
import com.sun.org.apache.xpath.internal.operations.Bool;

//操作类，根据headType进行不同的操作action
public interface ServerReceiver {
    ProtoMsg.HeadType op();
    Boolean action(LocalSession localSession, ProtoMsg.Message msg);
}
